.tip {
  font-size: 12px;
}

.dot {
  display: block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;

  &.ycl {
    background-color: #BFBFBF;
  }

  &.shz {
    background-color: #2761FF;
  }

  &.wcl {
    background-color: #FAAD14;
  }
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

/**
* 框架定义
*/
#app {
  font-size: 12px;
  height: 100%;

  // 右侧布局大区块
  .main-container {
    padding-top: 40px;

    // 顶部浮动面包屑
    .fixed-header {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 9;
      padding: 0 0 0 calc(#{$sideBarWidth});
      width: 100%;
      height: 40px;
      transition: width 0.28s;

      .navbar {
        height: 40px;
        overflow: hidden;
        position: relative;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;

        .errLog-container {
          display: inline-block;
          vertical-align: top;
        }

        .breadcrumb-container {
          float: left;
          padding-left: 10px;
        }

        .right-menu {
          height: 40px;
          line-height: 40px;
          display: flex;
          align-items: center;

          &:focus {
            outline: none;
          }

          .right-menu-item {
            display: inline-block;
            padding: 0 8px;
            height: 100%;
            font-size: 14px;
            color: #5a5e66;
            vertical-align: text-bottom;

            &.hover-effect {
              cursor: pointer;
              transition: background 0.3s;

              &:hover {
                background: transparent;
              }
            }
          }

          .edit-wrapper {
            flex: 1;
            padding: 0 10px;
            margin-right: 10px;
          }

          .avatar-container {
            margin-right: 30px;

            .avatar-wrapper {
              position: relative;

              .user-avatar {
                cursor: pointer;
                width: 40px;
                height: 40px;
                border-radius: 10px;
              }

              .user-title {
                color: #606266;
                font-size: 12px;
                font-weight: 400;
              }

              .el-icon-caret-bottom {
                cursor: pointer;
                position: absolute;
                right: -20px;
                top: 13px;
                font-size: 12px;
              }
            }
          }

          .message {
            font-size: 20px;
            margin-right: 20px;
            cursor: pointer;

            .el-badge {
              margin-top: 10px;
              height: 20px;

              i {
                position: relative;
                top: -15px;
              }
            }
          }
        }
      }
    }

    // 主要内容区域
    .app-main {
      width: 100%;
      position: relative;
      overflow: hidden;
      height: calc(100vh - 40px);
      padding: 10px;
      box-sizing: border-box;
      overflow-y: auto;

      .app-container {
        width: 100%;
        height: 100%;
        padding: 10px 20px;
        background: #fff;
        -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
        border-radius: 2px;
        box-sizing: border-box;
        overflow-y: auto;

        .content {
          width: 100%;

          .tree-left {
            width: 240px;
            margin-right: 10px;
            overflow: hidden;
            transition: all 0.3s;
          }
        }
      }
    }
  }

  .hideSidebar {
    .fixed-header {
      padding-left: 54px;
    }
  }
}


/**
* 公共类名定义
*/
.head-container {
  .crud-opts {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    padding: 10px 0 10px 0;

    .crud-opts-left,
    .crud-opts-right {
      display: flex;
      align-items: center;
    }

    .crud-opts-left {
      flex: 1;

      .crud-btns {
        display: flex;
        align-items: center;
      }

      .el-date-editor {
        width: 240px;
      }
    }

    button {
      height: 28px;
      margin-left: 5px;
    }
  }

  // 搜索部分 每个检索项
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
  }

  .date-item {
    width: 350px;
    margin-right: 5px;
  }
}
